<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org"
	xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<title>百度地图</title>
<head th:include="layout/head :: baiduMap"></head>
<body class="layui-layout-body">
	<div class="layui-layout layui-layout-admin">
		<div th:include="layout/header :: header" class="layui-header"></div>
		<div th:include="layout/side :: side"
			class="layui-side layui-bg-black"></div>
		<div class="layui-body">

			<div style="padding: 15px;height: 5%;">
				 <button class="layui-btn"><i class="layui-icon"></i>百度地图</button>
				<a style="float: right;">
					<button onclick="map.enableScrollWheelZoom(true);" class="layui-btn">开启滚轮缩放</button>
					<button onclick="map.disableScrollWheelZoom(true);" class="layui-btn">关闭滚轮缩放</button>
				</a>
			</div>
			<div id="allmap" style="height: 90%;"></div>
			<div th:include="layout/footer :: footer" class="layui-footer" style="height: 5%;"></div>
		</div>
	</div>
</body>
<script src="/js/myModule/baiduMap.js"></script>
</html>